
# 求100 以内的孪生质数
a=[]
pre = False
for i in range(3,100,2):
    for b in range(2,i):
        if i%b==0:
            pre = False
            break
    else:
        if pre:
            a.append([i-2, i])
        pre = True

print(a)

